import 'package:flutter/material.dart';
import 'package:flutter_member_mvvm/view/base_view.dart';
import 'package:flutter_member_mvvm/viewmodels/login_model.dart';
import 'package:flutter_member_mvvm/widget/search/with_search_component.dart';
import 'package:provider/provider.dart';

class IndexSchoolNetWork extends StatefulWidget {
  final AnimationController animationController;

  const IndexSchoolNetWork({Key key, this.animationController}) : super(key: key);
  @override
  _IndexPageState createState() => _IndexPageState();
}

class _IndexPageState extends State<IndexSchoolNetWork> {
  /// 搜索焦点
  FocusNode _focusNode = FocusNode();

  @override
  Widget build(BuildContext context) {
    return WithSearchComponent(
      downColor: Color(0Xffffe7a7),
      upColor: Color(0Xff154471),
      searchHistorys: ['aaaaa', 'bbbbbb', 'ccccc'],
      popularSearches: ["1111", '22222', '33333'],
      focusNode: _focusNode,
      body: Container(
        child: Text("1"),
      ),
    );
  }
}